class Announcement < ActiveRecord::Base
  
  validates_presence_of :title, :place, :message => "cant be empty"
  validates_length_of :title, :maximum => 50, :message => 'must have 25 characters at most'
  

end
